package A0402;

public class Animal {
    public int age = 12;

    final int A = 1;
    public void eat() {
        System.out.println("我要吃东西");
    }

    public Animal(int age) {
        this.age = age;
        System.out.println("调用了父类的有参构造函数");
    }

    public Animal() {
    }



}
